const host = 'https://www.winwinin.app'
// const host = 'https://www.flydeer.app'

const getApi = (path)=>{
    return host + path;

}

export default {
    host,
    getApi,
    getPopup: getApi('/api/page/home/popup'),
    checkUpdate : getApi('/api/check'),
    homeData : getApi('/api/page/index'),
    taskList : getApi('/api/task/list'),
    login:getApi('/api/auth/login'),
    register:getApi('/api/register/create'),
    registerValidate:getApi('/api/register/captcha/validate'),
    sendCodeRegister:getApi('/api/register/captcha/send'),
    sendCodeRetrieve:getApi('/api/security/password/retrieve/captcha/send'),
    retrieveValidate:getApi('/api/security/password/retrieve/captcha/validate'),
    taskOrder:getApi('/api/task/order'),
    vipData:getApi('/api/page/vip'),
    account:getApi('/api/page/account'),
    upgrade:getApi('/api/upgrade/usebalance'),
    updateName:getApi('/api/user/profile/nick/update'),
    withdrawSet:getApi('/api/user/withdrawal/settings'),
    withdrawSubmit:getApi('/api/user/withdrawal/submit'),
    withdrawReply:getApi('/api/user/withdrawal/reply'),
    downgrade:getApi('/api/upgrade/downgrade'),
    withdrawCheck:getApi('/api/user/withdrawal/status'),
    withdrawUpdate:getApi('/api/user/withdrawal/settings/update'),
    logout:getApi('/api/auth/logout'),
    reportStat:getApi('/api/report/stat'),
    faqList:getApi('/api/page/faq/list'),
    article:getApi('/api/page/article'),
    depositList:getApi('/api/deposit/items'),
    depositOrder:getApi('/api/deposit/order'),
    depositQuery:getApi('/api/deposit/query'),
    history:getApi('/api/user/history/balance'),
    investment:getApi('/api/investment/products'),
    invest:getApi('/api/investment/invest'),
    myInvest:getApi('/api/investment/my_invest'),
    myInvestDetail:getApi('/api/investment/invest_detail'),
    investmentRedeem:getApi('/api/investment/redeem'),
    invitePage:getApi('/api/page/invite'),
    inviteDetail:getApi('/api/page/invite/detail'),
    memberDetail:getApi('/api/page/memberdetail'),
    referralReceive:getApi('/api/user/referral/receive'),
    inviteRule:getApi('/api/page/rule/reward'),
    teamRewardHistory:getApi('/api/user/history/reward'),
    retrievePsw:getApi('/api/security/password/retrieve'),
    activitySharefissionStart:getApi('/api/activity/sharefission/start'),
    activitySharefissionRecieve:getApi('/api/activity/sharefission/recieve'),


}
